package com.xiaomazi.servicebase.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @program: llxy-parent
 * @description: 自定义异常
 * @author: 小马子
 * @create: 2023-02-09 16:50
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LLXYException extends RuntimeException{
    /*状态码*/
    private Integer code;
    /*异常消息*/
    private String msg;
}
